package com.yc.security.properties;

import lombok.Data;

/**
 * 认证相关动态配置
 * @title
 * @author kukaha
 * @updateTime  21:45
 * @throws
 * @return
 */
@Data
public class AuthenticationProperties {

    /**
     * 登录页面地址
     */
    private String loginPage = "/login/page";
    /**
     * 退出登录跳转地址
     */
    private String logout = "/user/logout";
    /**
     * 表单提交地址
     */
    private String loginProcessingUrl = "/login/form";
    /**
     * 表单提交用户名别名
     */
    private String usernameParameter = "username";
    /**
     * 表单提交密码别名
     */
    private String passwordParameter = "password";
    /**
     * 接口url放行
     */
    private String[] urlDischarged = {loginPage,loginProcessingUrl};
    /**
     * 静态资源放行
     */
    private String[] staticPaths = {"/dist/**", "/modules/**", "/plugins/**"};


}
